package com.fzz.dao;

import com.fzz.domain.User;
import com.fzz.domain.View;
import org.apache.ibatis.annotations.Mapper;
import org.apache.ibatis.annotations.Select;
import org.springframework.stereotype.Component;

import javax.servlet.http.HttpSession;
import java.util.List;
import java.util.List;

@Component
@Mapper
public interface UserMapping {

    @Select("select * from tb_view where username=#{username},password=#{password}")
    public User userLogin(String username,String password);

}
